From: Debian Qt/KDE Maintainers Date: Sat, 21 Feb 2026 15:46:10 +0000 (+0100) Subject: cross X-Git-Tag: archive/raspbian/6.23.0-2+rpi1^2^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de//%22%22/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22%22?a=commitdiff_plain;h=6b31e71f3a7dd2c0fe507d3c74825e1eee730ea4;p=kf6-knewstuff.git cross Gbp-Pq: Name cross.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 94838f0..b160aeb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,12 @@ set_package_properties(KF6Syndication PROPERTIES TYPE OPTIONAL ) -cmake_dependent_option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON "NOT CMAKE_CROSSCOMPILING" OFF) +if (CMAKE_CROSSCOMPILING) + set(BUILD_DESIGNERPLUGIN_DEFAULT OFF) +else() + set(BUILD_DESIGNERPLUGIN_DEFAULT ON) +endif() +option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ${BUILD_DESIGNERPLUGIN_DEFAULT}) add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer") set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].")